﻿using Microsoft.Xna.Framework.Graphics;

namespace Assignment_2.Entities.Components
{
    public abstract class DrawComponent
    {
        public Entity Owner { get; set; }
        protected GraphicsDevice Device;

        protected DrawComponent(Entity owner, GraphicsDevice device)
        {
            Owner = owner;
            Device = device;
        }

        public abstract void Draw(BasicEffect effect);
    }
}
